<%@page contentType="text/html;charset=UTF-8"%>
<% request.setCharacterEncoding("UTF-8"); %>
<HTML>
<HEAD>
<TITLE>Result</TITLE>
</HEAD>
<BODY>
<H1>Result</H1>

<jsp:useBean id="sampleAdminBussinessProxyid" scope="session" class="com.bussiness.AdminBussinessProxy" />
<%
if (request.getParameter("endpoint") != null && request.getParameter("endpoint").length() > 0)
sampleAdminBussinessProxyid.setEndpoint(request.getParameter("endpoint"));
%>

<%
String method = request.getParameter("method");
int methodID = 0;
if (method == null) methodID = -1;

if(methodID != -1) methodID = Integer.parseInt(method);
boolean gotMethod = false;

try {
switch (methodID){ 
case 2:
        gotMethod = true;
        java.lang.String getEndpoint2mtemp = sampleAdminBussinessProxyid.getEndpoint();
if(getEndpoint2mtemp == null){
%>
<%=getEndpoint2mtemp %>
<%
}else{
        String tempResultreturnp3 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(getEndpoint2mtemp));
        %>
        <%= tempResultreturnp3 %>
        <%
}
break;
case 5:
        gotMethod = true;
        String endpoint_0id=  request.getParameter("endpoint8");
            java.lang.String endpoint_0idTemp = null;
        if(!endpoint_0id.equals("")){
         endpoint_0idTemp  = endpoint_0id;
        }
        sampleAdminBussinessProxyid.setEndpoint(endpoint_0idTemp);
break;
case 10:
        gotMethod = true;
        com.bussiness.AdminBussiness getAdminBussiness10mtemp = sampleAdminBussinessProxyid.getAdminBussiness();
if(getAdminBussiness10mtemp == null){
%>
<%=getAdminBussiness10mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
</TABLE>
<%
}
break;
case 81:
        gotMethod = true;
        com.beans.Movie getAllMovies81mtemp = sampleAdminBussinessProxyid.getAllMovies();
if(getAllMovies81mtemp == null){
%>
<%=getAllMovies81mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">movieBanner:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
java.lang.String typemovieBanner84 = getAllMovies81mtemp.getMovieBanner();
        String tempResultmovieBanner84 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typemovieBanner84));
        %>
        <%= tempResultmovieBanner84 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">releaseDate:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
java.lang.String typereleaseDate86 = getAllMovies81mtemp.getReleaseDate();
        String tempResultreleaseDate86 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typereleaseDate86));
        %>
        <%= tempResultreleaseDate86 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">movieName:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
java.lang.String typemovieName88 = getAllMovies81mtemp.getMovieName();
        String tempResultmovieName88 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typemovieName88));
        %>
        <%= tempResultmovieName88 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">availableCopy:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
%>
<%=getAllMovies81mtemp.getAvailableCopy()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">rating:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
%>
<%=getAllMovies81mtemp.getRating()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">status:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
java.lang.String typestatus94 = getAllMovies81mtemp.getStatus();
        String tempResultstatus94 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typestatus94));
        %>
        <%= tempResultstatus94 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">catid:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
%>
<%=getAllMovies81mtemp.getCatid()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">movieId:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
%>
<%=getAllMovies81mtemp.getMovieId()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">rent:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
%>
<%=getAllMovies81mtemp.getRent()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">no_of_ratings:</TD>
<TD>
<%
if(getAllMovies81mtemp != null){
%>
<%=getAllMovies81mtemp.getNo_of_ratings()
%><%}%>
</TD>
</TABLE>
<%
}
break;
case 104:
        gotMethod = true;
        com.beans.CustomerAccount getAllSimpleMembers104mtemp = sampleAdminBussinessProxyid.getAllSimpleMembers();
if(getAllSimpleMembers104mtemp == null){
%>
<%=getAllSimpleMembers104mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">customerType:</TD>
<TD>
<%
if(getAllSimpleMembers104mtemp != null){
java.lang.String typecustomerType107 = getAllSimpleMembers104mtemp.getCustomerType();
        String tempResultcustomerType107 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecustomerType107));
        %>
        <%= tempResultcustomerType107 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">balance:</TD>
<TD>
<%
if(getAllSimpleMembers104mtemp != null){
%>
<%=getAllSimpleMembers104mtemp.getBalance()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">issuedMovies:</TD>
<TD>
<%
if(getAllSimpleMembers104mtemp != null){
java.lang.String typeissuedMovies111 = getAllSimpleMembers104mtemp.getIssuedMovies();
        String tempResultissuedMovies111 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeissuedMovies111));
        %>
        <%= tempResultissuedMovies111 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">movieLimit:</TD>
<TD>
<%
if(getAllSimpleMembers104mtemp != null){
%>
<%=getAllSimpleMembers104mtemp.getMovieLimit()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">memeberShipNumber:</TD>
<TD>
<%
if(getAllSimpleMembers104mtemp != null){
%>
<%=getAllSimpleMembers104mtemp.getMemeberShipNumber()
%><%}%>
</TD>
</TABLE>
<%
}
break;
case 117:
        gotMethod = true;
        com.beans.CustomerAccount getAllPremiumMembers117mtemp = sampleAdminBussinessProxyid.getAllPremiumMembers();
if(getAllPremiumMembers117mtemp == null){
%>
<%=getAllPremiumMembers117mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">customerType:</TD>
<TD>
<%
if(getAllPremiumMembers117mtemp != null){
java.lang.String typecustomerType120 = getAllPremiumMembers117mtemp.getCustomerType();
        String tempResultcustomerType120 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecustomerType120));
        %>
        <%= tempResultcustomerType120 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">balance:</TD>
<TD>
<%
if(getAllPremiumMembers117mtemp != null){
%>
<%=getAllPremiumMembers117mtemp.getBalance()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">issuedMovies:</TD>
<TD>
<%
if(getAllPremiumMembers117mtemp != null){
java.lang.String typeissuedMovies124 = getAllPremiumMembers117mtemp.getIssuedMovies();
        String tempResultissuedMovies124 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeissuedMovies124));
        %>
        <%= tempResultissuedMovies124 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">movieLimit:</TD>
<TD>
<%
if(getAllPremiumMembers117mtemp != null){
%>
<%=getAllPremiumMembers117mtemp.getMovieLimit()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">memeberShipNumber:</TD>
<TD>
<%
if(getAllPremiumMembers117mtemp != null){
%>
<%=getAllPremiumMembers117mtemp.getMemeberShipNumber()
%><%}%>
</TD>
</TABLE>
<%
}
break;
case 130:
        gotMethod = true;
        com.beans.Person getAllPersons130mtemp = sampleAdminBussinessProxyid.getAllPersons();
if(getAllPersons130mtemp == null){
%>
<%=getAllPersons130mtemp %>
<%
}else{
%>
<TABLE>
<TR>
<TD COLSPAN="3" ALIGN="LEFT">returnp:</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">zipCode:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
%>
<%=getAllPersons130mtemp.getZipCode()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">state:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.lang.String typestate135 = getAllPersons130mtemp.getState();
        String tempResultstate135 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typestate135));
        %>
        <%= tempResultstate135 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">lastLoggedIn:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.util.Calendar typelastLoggedIn137 = getAllPersons130mtemp.getLastLoggedIn();
        java.text.DateFormat dateFormatlastLoggedIn137 = java.text.DateFormat.getDateInstance();
        java.util.Date datelastLoggedIn137 = typelastLoggedIn137.getTime();
        String tempResultlastLoggedIn137 = org.eclipse.jst.ws.util.JspUtils.markup(dateFormatlastLoggedIn137.format(datelastLoggedIn137));
        %>
        <%= tempResultlastLoggedIn137 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">emailId:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.lang.String typeemailId139 = getAllPersons130mtemp.getEmailId();
        String tempResultemailId139 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeemailId139));
        %>
        <%= tempResultemailId139 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">city:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.lang.String typecity141 = getAllPersons130mtemp.getCity();
        String tempResultcity141 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typecity141));
        %>
        <%= tempResultcity141 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">memberShipNumber:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
%>
<%=getAllPersons130mtemp.getMemberShipNumber()
%><%}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">address:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.lang.String typeaddress145 = getAllPersons130mtemp.getAddress();
        String tempResultaddress145 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typeaddress145));
        %>
        <%= tempResultaddress145 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">firstName:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.lang.String typefirstName147 = getAllPersons130mtemp.getFirstName();
        String tempResultfirstName147 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typefirstName147));
        %>
        <%= tempResultfirstName147 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">password:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.lang.String typepassword149 = getAllPersons130mtemp.getPassword();
        String tempResultpassword149 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typepassword149));
        %>
        <%= tempResultpassword149 %>
        <%
}%>
</TD>
<TR>
<TD WIDTH="5%"></TD>
<TD COLSPAN="2" ALIGN="LEFT">lastName:</TD>
<TD>
<%
if(getAllPersons130mtemp != null){
java.lang.String typelastName151 = getAllPersons130mtemp.getLastName();
        String tempResultlastName151 = org.eclipse.jst.ws.util.JspUtils.markup(String.valueOf(typelastName151));
        %>
        <%= tempResultlastName151 %>
        <%
}%>
</TD>
</TABLE>
<%
}
break;
}
} catch (Exception e) { 
%>
exception: <%= e %>
<%
return;
}
if(!gotMethod){
%>
result: N/A
<%
}
%>
</BODY>
</HTML>